﻿namespace SBlogCore.Entitys.CrmManager
{
    /// <summary>
    /// 客户信息
    /// </summary>
    public class CustomerInfo : DeleteEntity, IEntityTypeConfiguration<CustomerInfo>
    {
        public CustomerInfo()
        {
            CustomerCode = string.Empty;
            Phone = string.Empty;
            Phone1 = string.Empty;
            Phone2 = string.Empty;
            Industry = string.Empty;
            Introducer = string.Empty;
            Name = string.Empty;
        }
        /// <summary>
        /// 用户编码
        /// </summary>
        [Comment("用户编码")]
        public string CustomerCode { get; set; }
        /// <summary>
        /// 名称
        /// </summary>
        [Comment("名称")]
        public string Name { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        [Comment("年龄")]
        public int Age { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [Comment("性别")]
        public int Sex { get; set; }
        /// <summary>
        /// 生日
        /// </summary>
        [Comment("生日")]
        public int Birthday { get; set; }
        /// <summary>
        /// 主手机号
        /// </summary>
        [Comment("主手机号")]
        public string Phone { get; set; }
        /// <summary>
        /// 备用手机号1
        /// </summary>
        [Comment("备用手机号1")]
        public string Phone1 { get; set; }
        /// <summary>
        /// 备用手机号2
        /// </summary>
        [Comment("备用手机号2")]
        public string Phone2 { get; set; }
        /// <summary>
        /// 客户行业
        /// </summary>
        [Comment("客户行业")]
        public string Industry { get; set; }
        /// <summary>
        /// 介绍人
        /// </summary>
        [Comment("介绍人")]
        public string Introducer { get; set; }


        public void Configure(EntityTypeBuilder<CustomerInfo> builder)
        {
        }
    }
}
